package com.jbp.service.impl;

import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jbp.utils.PageUtils;
import com.jbp.utils.Query;

import com.jbp.dao.UserPhotoDao;
import com.jbp.model.UserPhoto;
import com.jbp.service.UserPhotoService;


@Service
public class UserPhotoServiceImpl extends ServiceImpl<UserPhotoDao, UserPhoto> implements UserPhotoService {

    @Override
    public List<UserPhoto> queryList(Integer userId) {
        List<UserPhoto> list = this.list(new QueryWrapper<UserPhoto>().eq("user_id",userId));
        return list;
    }
}
